package com.sq.universe.system.service.impl;

import com.sq.universe.base.service.impl.BaseServiceImpl;
import com.sq.universe.system.dao.FileCategoryDao;
import com.sq.universe.system.entity.FileCategoryEntity;
import com.sq.universe.system.service.FileCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 孙乾 2021-01-18 22:10:12
*/
@Service
public class FileCategoryServiceImpl extends BaseServiceImpl<FileCategoryEntity, FileCategoryDao> implements FileCategoryService {

    @Autowired
    private FileCategoryDao fileCategoryDao;

    /**
     * 查询分类树
     * @param fileCategoryEntity
     * @return
     */
    public List<FileCategoryEntity> queryTree(FileCategoryEntity fileCategoryEntity){
        return fileCategoryDao.queryTree(fileCategoryEntity);
    }

}
